﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Example02_sharp
{
    class Rectangle
    {
        int width;
        int height;
        public Rectangle(int a, int b)
        {
            width = a;
            height = b;

        }

        public int area()
        {
            return (width * height);
        }
    }
}

